package com.njthird.busi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.njthird.common.annotation.Excel;
import com.njthird.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 客户订单对象 busi_cusorders
 * 
 * @author njthird
 * @date 2020-08-19
 */
public class BusiCusorders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 客户账号 */
    @Excel(name = "客户账号")
    private String khzh;

    /** 证券代码 */
    @Excel(name = "证券代码")
    private String zqdm;

    /** 委托价格 */
    @Excel(name = "委托价格")
    private Long wtjg;

    /** 委托数量 */
    @Excel(name = "委托数量")
    private Long wtsl;

    /** 委托类型 */
    @Excel(name = "委托类型")
    private String wtlx;

    /** 委托时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "委托时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wtsj;

    /** 成交价格 */
    @Excel(name = "成交价格")
    private Long cjjg;

    /** 成交数量 */
    @Excel(name = "成交数量")
    private Long cjsl;

    /** 成交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cjsj;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setKhzh(String khzh) 
    {
        this.khzh = khzh;
    }

    public String getKhzh() 
    {
        return khzh;
    }
    public void setZqdm(String zqdm) 
    {
        this.zqdm = zqdm;
    }

    public String getZqdm() 
    {
        return zqdm;
    }
    public void setWtjg(Long wtjg) 
    {
        this.wtjg = wtjg;
    }

    public Long getWtjg() 
    {
        return wtjg;
    }
    public void setWtsl(Long wtsl) 
    {
        this.wtsl = wtsl;
    }

    public Long getWtsl() 
    {
        return wtsl;
    }
    public void setWtlx(String wtlx) 
    {
        this.wtlx = wtlx;
    }

    public String getWtlx() 
    {
        return wtlx;
    }
    public void setWtsj(Date wtsj) 
    {
        this.wtsj = wtsj;
    }

    public Date getWtsj() 
    {
        return wtsj;
    }
    public void setCjjg(Long cjjg) 
    {
        this.cjjg = cjjg;
    }

    public Long getCjjg() 
    {
        return cjjg;
    }
    public void setCjsl(Long cjsl) 
    {
        this.cjsl = cjsl;
    }

    public Long getCjsl() 
    {
        return cjsl;
    }
    public void setCjsj(Date cjsj) 
    {
        this.cjsj = cjsj;
    }

    public Date getCjsj() 
    {
        return cjsj;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("khzh", getKhzh())
            .append("zqdm", getZqdm())
            .append("wtjg", getWtjg())
            .append("wtsl", getWtsl())
            .append("wtlx", getWtlx())
            .append("wtsj", getWtsj())
            .append("cjjg", getCjjg())
            .append("cjsl", getCjsl())
            .append("cjsj", getCjsj())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
